package com.carpedil.movie.service;

import com.carpedil.common.dto.MovieDTO;

import java.util.List;

/** @author Administrator */
public interface MovieService {
  String check(String movieName);

  boolean updateStorage(String movieName);

  boolean updateStorageByProcedure(String movieName, String orderId);

  List<MovieDTO> getAllMovie();

  MovieDTO findMovieById(Integer movieId);

  boolean updateOrderStatus(String orderId, Integer code);

  String executeProcedure(String movieName);
}
